import type { CategoryItemType } from '@/types/category'
import { http } from '@/utils/http'

/**
 * 获取Tab-商品分类的 分类列表
 * @returns 
 */
export const  getCategoryListHttp = ()=>{
  return http<CategoryItemType[]>({
    url:'/category/top',
    method:'GET'
  })
}
